package org.dromara.xhlj.domain.bo;

import org.dromara.xhlj.domain.XhljVenues;
import lombok.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.*;

import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 大会会场业务对象 xhlj_venues
 *
 * @author yf
 * @date 2024-07-28
 */
@Data
@AutoMapper(target = XhljVenues.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XhljVenuesBo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 会场ID
     */
    @NotNull(message = "会场ID不能为空", groups = {EditGroup.class})
    private Integer venuesId;
    /**
     * 会场名称
     */
    @NotBlank(message = "会场名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String venuesName;
    /**
     * 创建人sys_user（大会管理员/活动负责人）
     */
     private Integer createBy;
    /**
     * 会场地址
     */
    private String venuesLocation;
    /**
     * 会场联系人
     */
    private String venuesContact;
    /**
     * 会场联系电话
     */
    private String venuesPhone;
    /**
     * 会场最大容量
     */
    @NotNull(message = "会场最大容量不能为空", groups = {AddGroup.class, EditGroup.class})
    private Integer venuesCapacity;
    /**
     * 会场图片
     */
    private String venuesImage;
    /**
     * 会场视频
     */
    private String venuesFile;
    /**
     * 会场地图
     */
    private String venuesMap;
    /**
     * 会场类型（0=会议室，1=展览厅，2=宴会厅，3=展商）
     */
    private String venuesType;
    /**
     * 会场状态（0=未占用，1=已占用）
     */
    private String venuesStatus;
}
